#pragma once

#include "Primitive.h"

class Torus: public Primitive
{
private:
	float innerRadius, outterRadius;
	int nsides, rings;
public:
	Torus() {};
	void render()
	{
		glutSolidTorus(innerRadius, outterRadius, nsides, rings);
	}
	void setValues(float i, float o, int nside, int ring)
	{
		innerRadius = i;
		outterRadius = o;
		nsides = nside;
		rings = ring;
	}
};